package com.linb.pan.server.common.stream.event.log;

import lombok.*;
import org.springframework.context.ApplicationEvent;

import java.io.Serializable;

@Getter
@Setter
@EqualsAndHashCode
@Data
@NoArgsConstructor
public class ErrorLogEvent implements Serializable {

    private static final long serialVersionUID = 8195915226042578489L;

    private String errorMsg;

    private Long userId;

    public ErrorLogEvent(String errorMsg, Long userId) {
        this.errorMsg = errorMsg;
        this.userId = userId;
    }

}
